<div class="cil__detail-rest-info--label">
  {{'GENERAL.INFO.OTHER.TRADE_INFO' | i18n}}
</div>

<div *ngIf="!columns[fields.authPassword]">
  <p>{{'BIZ.MERCHANT.OTHER.TRADE.NO_AUTH_CODE' | i18n}}</p>
</div>

<app-info-row
  *ngFor="let column of columns[fields.authPassword]; let rowIndex=index"
  [columns]="column"
  [ifEdit]="isEdits[fields.authPassword][rowIndex]"
  [rowIndex]="rowIndex"
  (active)="activeItem($event, rowIndex)"
></app-info-row>

<ng-template #operate let-rowIndex=rowIndex>
  <app-rest-edit
    [editing]="isEdits[fields.authPassword][rowIndex]"
    (edit)="goEdit()"
    (cancel)="cancel()"
    (submit)="submit()"
  ></app-rest-edit>
</ng-template>